home *** CD-ROM | disk | FTP | other *** search
- CMPLX(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- CCMMPPLLXX, DDCCMMPPLLXX, QQCCMMPPLLXX - Converts to type complex
-
- SSYYNNOOPPSSIISS
- CCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
- DDCCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
- QQCCMMPPLLXX (([XX==]_x [,,[YY==]_y] [,,[KKIINNDD==]_k_i_n_d]))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extensions: DDCCMMPPLLXX, QQCCMMPPLLXX
-
- DDEESSCCRRIIPPTTIIOONN
- CCMMPPLLXX is a generic function name; the others are specifics. These are
- elemental intrinsic functions. These functions convert _x and (if
- specified) _y into type complex. Their arguments are as follows:
-
- _x The real part of complex number. Must be type integer,
- Boolean, real, complex, double precision, or quad precision.
- If _x is of type complex, argument _y cannot be specified.
-
- See the RETURN VALUES section for more information on input
- data types and return values.
-
- _y The imaginary part of a number. Must be of the same type
- and kind type as _x. If unspecified, zero is assumed.
-
- _k_i_n_d An integer scalar value. The kind type assigned to the
- result. Must be a valid kind type for type complex on your
- platform. Kind types accepted differ from platform to
- platform, see _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _1,
- for information on valid types and kind types allowed.
-
- This argument is not accepted by the MIPSpro Fortran 77
- compiler.
-
- Type conversion routines assign the appropriate type to Boolean
- arguments without shifting or manipulating the bit patterns they
- represent.
-
- The following cases represent the evaluation of CCMMPPLLXX when using both
- arguments:
-
- CCMMPPLLXX((II,,JJ)) returns FFLLOOAATT((II))++ii**FFLLOOAATT((JJ))
-
- CCMMPPLLXX((xx,,yy)) returns the complex value xx++ii**yy
-
- The following cases represent the evaluation of CCMMPPLLXX when using the
- first argument:
-
- CCMMPPLLXX((XX)) returns XX++ii**00
-
- CCMMPPLLXX((II)) returns FFLLOOAATT((II))++ii**00
-
- CCMMPPLLXX((CC)) == CC if CC is complex.
-
- NNOOTTEESS
- The names of these intrinsics cannot be passed as arguments.
-
- RREETTUURRNN VVAALLUUEESS
- If the _k_i_n_d argument is specified, the kind type of the result is the
- same as the _k_i_n_d argument.
-
- If the _k_i_n_d argument is not specified, the following return values are
- obtained:
-
- * CCMMPPLLXX returns a complex value.
-
- * DDCCMMPPLLXX returns a double-complex value.
-
- * QQCCMMPPLLXX returns a quad-complex value.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-